// import Layout from "@/layout";

const EquipRepairManageRouter = {
  path: "/equip-repair-manage",
  component: "Layout",
  redirect: "noRedirect",
  name: "EquipRepairManage",
  meta: { title: "维修管理", icon: "equip-repair-manage" },
  children: [
    // {
    //   path: "/repair-record",
    //   name: "RepairRecord",
    //   component: "equip-repair-manage/repair-record/index",
    //   meta: { title: "维修记录管理", icon: "repair-record" }
    // },
    {
      path: "/failure-to-report",
      name: "FailureToReport",
      component: "equip-repair-manage/failure-to-report/index",
      meta: { title: "设备故障上报", icon: "failure-to-report" }
    },
    {
      path: "/report-audit",
      name: "ReportAudit",
      component: "equip-repair-manage/report-audit/index",
      meta: { title: "报修审核", icon: "report-audit" }
    },
    {
      path: "/repair-handle",
      name: "RepairHandle",
      component: "equip-repair-manage/repair-handle/index",
      meta: { title: "设备维修处理", icon: "repair-handle" }
    },
    {
      path: "/outsourced-repair-audit",
      name: "OutsourcedRepairAudit",
      component: "equip-repair-manage/outsourced-repair-audit/index",
      meta: { title: "委外维修审核", icon: "outsourced-repair-audit" }
    },
    {
      path: "/outsourced-repair-handle",
      name: "OutsourcedRepairHandle",
      component: "equip-repair-manage/outsourced-repair-handle/index",
      meta: { title: "委外维修处理", icon: "outsourced-repair-handle" }
    },
    {
      path: "/repair-history",
      name: "RepairHistory",
      component: "equip-repair-manage/repair-history/index",
      meta: { title: "历史维修记录", icon: "repair-history" }
    },
    {
      path: "/destory-audit",
      name: "DestoryAudit",
      component: "equip-repair-manage/destory-audit/index",
      meta: { title: "报废审核", icon: "DestoryAudit" }
    },
    {
      path: "/destory-handle",
      name: "DestoryHandle",
      component: "equip-repair-manage/destory-handle/index",
      meta: { title: "报废处理", icon: "DestoryHandle" }
    },
    {
      path: "/repair-type",
      name: "RepairType",
      component: "equip-repair-manage/repair-type/index",
      meta: { title: "维修类型管理", icon: "repair-type" }
    },
    {
      path: "/node-config",
      name: "NodeConfig",
      component: "equip-repair-manage/node-config/index",
      meta: { title: "维修节点配置", icon: "node-config" }
    }

  ]
};

export default EquipRepairManageRouter;
